package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.SubsidyBeanMapper;
import com.billing.model.entity.TSubsidy;
import com.billing.service.SubsidyService;

@Service
public class SubsidyServiceImpl implements SubsidyService {

	@Resource
	private SubsidyBeanMapper	subsidyBeanMapper;
	
	@Override
	public List<TSubsidy> getTSubsidyList(int id) {
		return subsidyBeanMapper.getTSubsidyList(id);
	}

	@Override
	public int deleteTSubsidyByid(int id) {
		return subsidyBeanMapper.deleteTSubsidyByid(id);
	}

	@Override
	public int insertTSubsidyList(List<TSubsidy> sulist) {
		return subsidyBeanMapper.insertTSubsidyList(sulist);
	}

}
